package com.sitech.openapi.domain.ProductOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "MainOfferOrderItemAttr", description = "主套餐订单项属性")
public class MainOfferOrderItemAttr implements Serializable {

    private static final long serialVersionUID = 1L;

    // 引用资源AttrSpec
    @ApiModelProperty(value = "属性标识")
    private Long attrId;

    // 记录属性值。
    @ApiModelProperty(value = "属性值")
    private String attrValue;

    /**
     * 订单数据操作类型
     * 1000 新增
     * 1100 删除
     * 1200 修改
     * 1300 保持
     */
    @ApiModelProperty(value = "操作类型")
    private String operType;

    // 备注
    @ApiModelProperty(value = "备注")
    private String remark;

    public Long getAttrId() {
        return attrId;
    }

    public void setAttrId(Long attrId) {
        this.attrId = attrId;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "AccessProdOrderItemAttr{" +
                "attrId=" + attrId +
                ", attrValue='" + attrValue + '\'' +
                ", operType='" + operType + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
